'use strict';

const Controller = require('egg/index').Controller;

class SiteNavigationController extends Controller {
  /**
   * 查询分组
   */
  async findSections() {
    const data = await this.ctx.service.siteNavigation.findSections();
    this.ctx.sendSuccess(data);
  }
}

module.exports = SiteNavigationController;
